<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title>Mushroom Clasification</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <LINK href="Style.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="js.js"></script>
    </head>

    <body>
        <div class="title">
            Classify Your Mushroom Before Eat!
        </div>
                <button onclick="javascript:window.location='Learning.php'" value="Learning"> Learn New Model </button>
                <button onclick="javascript:window.location='Classification.php'" value="Classification"> Classify </button>
                <button onclick="javascript:window.location='download.php'" value="Allmodel"> List All Model </button>

            <form method="POST" action="register_model.php" enctype="multipart/form-data">
            <hr>
            <div class="content">
                    <h3>Upload your csv/arff file :</h3>
                    <input type="file" value="browse" name="file" id="Button_browse"/>
                    <h3> Model name </h3><input type="text" value="data" name="model_name" id="model_name"/>.arff        
                   
                    <br />
                    <div class="preproses">
                            <h3>Choose the preprocess type :</h3>
                            <input type="radio" name="preprocess" value="1" /> Unsupervised Discretize<br />
                            <input type="radio" name="preprocess" value="2" /> Unsupervised Normalize<br />
                            <input type="radio" name="preprocess" value="3" /> Unsupervised Replace Missing Value<br />
                            <input type="radio" name="preprocess" value="4" /> Supervised Attribute Selection
                    </div>
                    <div class="learning">
                            <h3>Choose the learning algoritm :</h3>
                            <table border="0">
                            <tr><td>
                            <input type="radio" name="learning" value="kNN" /> k-NN<br />
                            <input type="radio" name="learning" value="NB" /> Naive Bayes<br />
                            <input type="radio" name="learning" value="ID3" /> ID3
                            </td><td>
                                    k :
                                    <input type="text" name="k" /><br /><br /><br />
                            </td>
                            </tr>
                            </table>
                    </div>
                    <br />
                    <div class="attribute">
                            <h3>Choose the attribute to use :</h3>
                                    <table border="0">
                                            <tr><td>
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="0" /> Cap Shape<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="1" /> Cap Surface<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="2" /> Cap Color<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="3" /> Bruises<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="4" /> Odor<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="5" /> Gill Attachment<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="6" /> Gill Spacing<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="7" /> Gill Size<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="8" /> Gill Color<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="9" /> Stalk Shape<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="10" /> Stalk Root<br />
                                            </td>
                                            <td>
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="11" /> Stalk Surface Above Ring<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="12" /> Stalk Surface Below Ring<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="13" /> Stalk Color Above Ring<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="14" /> Stalk Color Below Ring<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="15" /> Veil Type<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="16" /> Veil Color<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="17" /> Ring Number<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="18" /> Ring Type<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="19" /> Spore Print Color<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="20" /> Population<br />
                                                    <input class="atribut" type="checkbox" name="attribute[]" value="21" /> Habitat<br />
                                            </td></tr>
                                    </table>
                    </div>
                    <button type="button" onclick="javascript:checkAll()">check all</button>
                    <button type="button" onclick="javascript:uncheckAll()">uncheck all</button>
                    <input type="submit" value="Learn" name="Learn" id="Button_Learn"/>
            </div>
            </form>
    </body>
</html>
